class Activity extends HTMLElement {
    constructor() {
        super();
    }
    static set context(context){
        this._context = context;
    }
    static get context(){
        return this._context;
    }
    connectedCallback() {
        let root = this.attachShadow({
            mode: 'open'
        });
        root.innerHTML = `
            <div style="height:300px;">
                <a href="${this.context.proxyPath}haigou-hot.html">Hello Im a Module</a>
                <a href="${this.context.proxyPath}haigou-new.html">Hello Im a Module2</a>
            </div>
        `;
    }
}
window.customElements.define("haigou-activity",Activity);